package net.zjitc.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

//读者建议
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReaderProposal {

    private Integer id;

    private Integer userId;

    private String content;
    //是否公开
    private Boolean isPublish;
    //回复内容
    private String replyContent;

    private Boolean isReply;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy年MM月dd日 HH:mm:ss")
    private LocalDateTime replyTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy年MM月dd日 HH:mm:ss")
    private LocalDateTime createTime;

}
